package cc.fs.study;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;

import cc.fs.study.Image.ImageActivity;
import cc.fs.study.drawandevent.DrawActivity;
import cc.fs.study.guideview.GuideView;
import cc.fs.study.guideview.GuideViewActivity;
import cc.fs.study.hotfix.HotFixActivity;
import cc.fs.study.jnidemo.JniDemoActivity;
import cc.fs.study.jnidemo.JniTest;
import cc.fs.study.keyboard.KeyboardActivity;
import cc.fs.study.market.MarketActivity;
import cc.fs.study.pinyin.PinyinActivity;
import cc.fs.study.pulltorefash.PullToRefashActivity;
import cc.fs.study.rxjava.RxjavaActivity;
import cc.fs.study.smart_app.SmartUpdateActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

//        Intent intent = new Intent(this,RxjavaActivity.class);
//        startActivity(intent);
    }

    public void gotoPinyin(View view){
        Intent intent = new Intent(this,PinyinActivity.class);
        startActivity(intent);
    }

    public void gotoKeyboard(View view){
        Intent intent = new Intent(this,KeyboardActivity.class);
        startActivity(intent);
    }

    public void gotoImage(View view){
        Intent intent = new Intent(this,ImageActivity.class);
        startActivity(intent);
    }

    public void gotoPullToRefash(View view){
        Intent intent = new Intent(this,PullToRefashActivity.class);
        startActivity(intent);
    }

    public void gotoMarket(View view){
        Intent intent = new Intent(this,MarketActivity.class);
        startActivity(intent);
    }

    public void gotoDrawAndEvent(View view){
        Intent intent = new Intent(this,DrawActivity.class);
        startActivity(intent);
    }

    public void gotoHotFix(View view){
        Intent intent = new Intent(this,HotFixActivity.class);
        startActivity(intent);
    }

    public void gotoSmartUpdate(View view){
        Intent intent = new Intent(this,SmartUpdateActivity.class);
        startActivity(intent);
    }

    public void gotoGuideView(View view){
        Intent intent = new Intent(this,GuideViewActivity.class);
        startActivity(intent);
    }

    public void gotoJniTest(View view){
        Intent intent = new Intent(this,JniDemoActivity.class);
        startActivity(intent);
    }
}
